Public opinions on major social security emergencies in the era of big data are mainly spread through the media. Most of the existing researches fail to consider the special group — news media and the influence of news media in a certain kind of specific events. In order to study the above problems, a method to evaluate the influence by integrating the network structure and behavioral relationship between users was proposed, and the Xinjiang and Paris violent and terrorist events were taken as examples to calculate the international influence of news media of different countries on such events on the Twitter platform. This evaluation method can better obtain the influence of various news media at the event level. By calculating the influence of news media in the violent and terrorist events in Xinjiang and Paris, the experimental results show that there are differences in the influence of news media of different countries in Xinjiang and Paris violent and terrorist events, which indicates that these two events of the same type have different influence scopes, and also reflects the differences of political positions of different countries.